/* function getSum(b){
	
	for(var a=1,sum=0;a<=b;a++){
		sum+=a;
	}
	console.log(sum);
}
getSum(30);
getSum(100); */
function getRun(n1,n2){
	for(a=n1,num=0;a<=n2;a++){
	if(a%4=='0'&&a%100!='0'||a%400=='0'){
		num++;
	console.log(a+'闰年')}
	}
	console.log(num)
}
getRun(2004,2100)